package com.txunda.zhuohired.bean.user.resume;

import com.txunda.zhuohired.bean.common.CommonEducationListBean;
import com.txunda.zhuohired.bean.common.CommonJobListBean;
import com.txunda.zhuohired.bean.common.CommonSocialBean;
import com.txunda.zhuohired.bean.common.CommonPracticeListBean;

import java.util.List;

/**
 * 创建人： Txd_Cjh
 * 创建时间： 2018/4/16 14:48
 * 功能描述：简历预览bean
 * 联系方式：jiahuanchen@126.com
 */

public class PreviewBean {

    /**
     * code : 1
     * message : 成功
     * data : {"img":"","name":"好好","sex":"男","position":"Android 开发工程师","phone":"13652588652","work":"6年",
     * "education":"","price":"面议","address":"安徽省蚌埠市西市区","birth":"1990/01","service":"离职-随时到岗","job_position":"矿工,
     * 销售经理,代表","job_address":"","trade":"销售","practice_list":[{"id":"4","company_name":"天讯达科技有限公司",
     * "start_time":"1501516800","end_time":"0","position_name":"Android 开发工程师","time":"2017-08 - 至今"},{"id":"5",
     * "company_name":"天迅达科技有限公司","start_time":"1501516800","end_time":"0","position_name":"PHP开发工程师","time":"2017-08
     * - 至今"}],"education_list":[{"id":"4","school_name":"天津大学","profession_name":"化学与科学","education_name":"本科",
     * "start_time":"1504195200","end_time":"0","time":"2017-09 - 至今"},{"id":"5","school_name":"南开大学",
     * "profession_name":"应用化学","education_name":"本科","start_time":"1504195200","end_time":"0","time":"2017-09 -
     * 至今"}],"job_list":[{"id":"3","job_name":"添财买手","start_time":"1519833600","end_time":"0","time":"2018-03 - 至今"},
     * {"id":"4","job_name":"卓聘","start_time":"1519833600","end_time":"0","time":"2018-03 - 至今"}],
     * "social":[{"id":"4","social":"http://www.baidu.com"},{"id":"5","social":"http://www.txunda.com"}],
     * "self_speak":"我的自我评价"}
     * nums : 0
     */

    private String code;
    private String message;
    private DataBean data;
    private String nums;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getNums() {
        return nums;
    }

    public void setNums(String nums) {
        this.nums = nums;
    }

    public static class DataBean {
        /**
         * img :
         * name : 好好
         * sex : 男
         * position : Android 开发工程师
         * phone : 13652588652
         * work : 6年
         * education :
         * price : 面议
         * address : 安徽省蚌埠市西市区
         * birth : 1990/01
         * service : 离职-随时到岗
         * job_position : 矿工,销售经理,代表
         * job_address :
         * trade : 销售
         * practice_list : [{"id":"4","company_name":"天讯达科技有限公司","start_time":"1501516800","end_time":"0",
         * "position_name":"Android 开发工程师","time":"2017-08 - 至今"},{"id":"5","company_name":"天迅达科技有限公司",
         * "start_time":"1501516800","end_time":"0","position_name":"PHP开发工程师","time":"2017-08 - 至今"}]
         * education_list : [{"id":"4","school_name":"天津大学","profession_name":"化学与科学","education_name":"本科",
         * "start_time":"1504195200","end_time":"0","time":"2017-09 - 至今"},{"id":"5","school_name":"南开大学",
         * "profession_name":"应用化学","education_name":"本科","start_time":"1504195200","end_time":"0","time":"2017-09 -
         * 至今"}]
         * job_list : [{"id":"3","job_name":"添财买手","start_time":"1519833600","end_time":"0","time":"2018-03 - 至今"},
         * {"id":"4","job_name":"卓聘","start_time":"1519833600","end_time":"0","time":"2018-03 - 至今"}]
         * social : [{"id":"4","social":"http://www.baidu.com"},{"id":"5","social":"http://www.txunda.com"}]
         * self_speak : 我的自我评价
         */

        private String img;
        private String name;
        private String sex;
        private String position;
        private String phone;
        private String work;
        private String education;
        private String price;
        private String address;
        private String birth;
        private String service;
        private String job_position;
        private String job_address;
        private String trade;
        private String self_speak;
        private List<CommonPracticeListBean> practice_list;
        private List<CommonEducationListBean> education_list;
        private List<CommonJobListBean> job_list;
        private List<CommonSocialBean> social;

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public String getPosition() {
            return position;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getWork() {
            return work;
        }

        public void setWork(String work) {
            this.work = work;
        }

        public String getEducation() {
            return education;
        }

        public void setEducation(String education) {
            this.education = education;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getBirth() {
            return birth;
        }

        public void setBirth(String birth) {
            this.birth = birth;
        }

        public String getService() {
            return service;
        }

        public void setService(String service) {
            this.service = service;
        }

        public String getJob_position() {
            return job_position;
        }

        public void setJob_position(String job_position) {
            this.job_position = job_position;
        }

        public String getJob_address() {
            return job_address;
        }

        public void setJob_address(String job_address) {
            this.job_address = job_address;
        }

        public String getTrade() {
            return trade;
        }

        public void setTrade(String trade) {
            this.trade = trade;
        }

        public String getSelf_speak() {
            return self_speak;
        }

        public void setSelf_speak(String self_speak) {
            this.self_speak = self_speak;
        }

        public List<CommonPracticeListBean> getPractice_list() {
            return practice_list;
        }

        public void setPractice_list(List<CommonPracticeListBean> practice_list) {
            this.practice_list = practice_list;
        }

        public List<CommonEducationListBean> getEducation_list() {
            return education_list;
        }

        public void setEducation_list(List<CommonEducationListBean> education_list) {
            this.education_list = education_list;
        }

        public List<CommonJobListBean> getJob_list() {
            return job_list;
        }

        public void setJob_list(List<CommonJobListBean> job_list) {
            this.job_list = job_list;
        }

        public List<CommonSocialBean> getSocial() {
            return social;
        }

        public void setSocial(List<CommonSocialBean> social) {
            this.social = social;
        }


        @Override
        public String toString() {
            return "DataBean{" +
                    "img='" + img + '\'' +
                    ", name='" + name + '\'' +
                    ", sex='" + sex + '\'' +
                    ", position='" + position + '\'' +
                    ", phone='" + phone + '\'' +
                    ", work='" + work + '\'' +
                    ", education='" + education + '\'' +
                    ", price='" + price + '\'' +
                    ", address='" + address + '\'' +
                    ", birth='" + birth + '\'' +
                    ", service='" + service + '\'' +
                    ", job_position='" + job_position + '\'' +
                    ", job_address='" + job_address + '\'' +
                    ", trade='" + trade + '\'' +
                    ", self_speak='" + self_speak + '\'' +
                    ", practice_list=" + practice_list +
                    ", education_list=" + education_list +
                    ", job_list=" + job_list +
                    ", social=" + social +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "PreviewBean{" +
                "code='" + code + '\'' +
                ", message='" + message + '\'' +
                ", data=" + data +
                ", nums='" + nums + '\'' +
                '}';
    }
}
